from django.shortcuts import render
from django.views.generic import View


class Error400View(View):
    def get(self, request, *args, **kwargs):
        return render(request, 'errors/400.html', status=400)


class Error403View(View):
    def get(self, request, *args, **kwargs):
        return render(request, 'errors/403.html', status=403)
